<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/6
 * Time: 15:17
 */
namespace App\Tool;

use phpDocumentor\Reflection\Types\Self_;

class Error{
    const OK = 200;

    /**
     * 请求参数
     */
    const PARAM_MISSING = -403;
    const NULL_DATA     = -404;
    const GENER_FAIL = -405;
    const MSG = [
        self::PARAM_MISSING => '参数缺少',
        self::NULL_DATA => '暂无数据',
        self::GENER_FAIL => '生成失败，请稍后重试！',

    ];
}